package com.spa.infrastructure.service.wx.result;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 退款成功通知参数
 */
@Getter
@Setter
@Builder
@ToString
public class RefundSuccessResult {

    private String mchid;

    private String transaction_id;

    private String out_trade_no;

    private String out_refund_no;

    private String refund_id;

    private String refund_status;

    private String user_received_account;

    private String success_time;

    private Amount amount;

    @Getter
    @Setter
    @Builder
    public static class Amount {

        private Integer total;

        private Integer refund;

        private Integer payer_total;

        private Integer payer_refund;
    }
}
